package cn.edu.nuc.ssm.util;

import org.springframework.util.DigestUtils;

/**
 * Created by Administrator on 2017/4/20.
 */
public class Md5Util {

    private final static String slat = "sdfsdf%%FD5sd5fsd5f5%%FDfsdfsdf";

    public static String getMD5(String password){

        String base = password + slat;

        String md5 = DigestUtils.md5DigestAsHex(base.getBytes());

        return md5;

    }
}
